{include file="layout/header" /}
<div class="page input js_show">
    <!-- <div class="page__hd"> -->
        <!-- <h1 class="page__title">请绑定会员</h1> -->
        <!-- <p class="page__desc">审核成功后可领取优惠券</p> -->
    <!-- </div> -->
    <form id="myform" action="{:url('User/bind')}" method="post">
        <div class="page__bd">
            <div class="weui-cells__title">请填写信息(*为必填项)</div>
            <div class="weui-cells">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p>微信昵称</p>
                    </div>
                    <div class="weui-cell__ft">{$userinfo.nickname}</div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p>微信头像</p>
                    </div>
                    <div class="weui-cell__ft"><img src="{$userinfo.headimgurl}" alt="" style="width:25px;margin-right:5px;display:block"></div> 
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">会员编号<font color="red">*</font></label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="number" name="cardno" pattern="[0-9]*" placeholder="请输入会员编号">
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">手机号码<font color="red">*</font></label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="number" name="mobile" pattern="[0-9]*" placeholder="请输入手机号码">
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">真实姓名</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="text" name="fullname" placeholder="请输入真实姓名">
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label for="" class="weui-label">出生年月</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" name="birthday" type="date" value="">
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">家庭地址</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="text" name="address" placeholder="请输入家庭地址">
                    </div>
                </div>
            
            </div>
            <div class="weui-cells__tips">注意：信息一经填写不可更改，绑定成功后可以领取优惠券</div>
            
            <div class="weui-btn-area">
                <input type="hidden" name="openid" value="{$openid}" />
                <input type="hidden" name="nickname" value="{$userinfo.nickname}" />
                <input type="hidden" name="headimgurl" value="{$userinfo.headimgurl}" />
                <INPUT TYPE="submit"  value="提交" class="weui-btn weui-btn_primary" >
            </div>
        </div>
    </form>
    <!-- <div class="weui-msg__extra-area"> -->
        <!-- <div class="weui-footer"> -->
            <!-- <p class="weui-footer__links"> -->
                <!-- <a href="javascript:void(0);" class="weui-footer__link">技术支持 方倍工作室</a> -->
            <!-- </p> -->
            <!-- <p class="weui-footer__text">Copyright © 2011-2017 FangBei Studio</p> -->
        <!-- </div> -->
    <!-- </div> -->

</div>
{include file="layout/footer" /}